package com.word.app.service;

import com.word.app.pojo.NormWord;
import com.word.app.pojo.dto.BaseRemReq;

import java.util.*;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 311
* @description 针对表【normWord】的数据库操作Service
* @createDate 2022-06-16 12:13:09
*/
public interface NormWordService extends IService<NormWord> {
    List<NormWord> queryRemember(String uid, boolean remembered);
    // IPage<NormWord> queryRememberByPage(Page<NormWord>page, NormWordRem word);
    public IPage<NormWord> queryRememberByPage(Page<NormWord> page, BaseRemReq<NormWord> req);
    public void updateRemember(BaseRemReq<List> req) ;
    List<NormWord> testQuery(NormWord word);
    void addRememberColumn(String uid);
    void deleteRememberColumn(String uid);
    boolean isExistRememberColumn(String uid);
}
